import 'package:flutter/material.dart';
import 'package:flutterappmydemo/basis/TikTokVideoGesture.dart';

class DouyinLike extends StatefulWidget {
  @override
  _DouyinLikeState createState() => _DouyinLikeState();
}

class _DouyinLikeState extends State<DouyinLike> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("仿抖音点赞"),
      ),
      body: TikTokVideoGesture(
        child: Container(
          width: double.maxFinite,
          height: double.maxFinite,
          color: Colors.white,
          child: Text("dddd"),
        ),
        onSingleTap: () {
          print('_DouyinLikeState.build');
        },
      ),
    );
  }
}
